import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useOuter = defineStore('outer', () => {
    const list = ref<{ num: number, time: number, timeNum: number, text: string }[]>([{
        num: 10000,
        time: 3,
        timeNum: 99,
        text: '点赞'
    }, {
        num: 10000,
        time: 3,
        timeNum: 0,
        text: '来了'
    }, {
        num: 10000,
        time: 3,
        timeNum: 0,
        text: '购买'
    }, {
        num: 10000,
        time: 3,
        timeNum: 0,
        text: '关注'
    }, {
        num: 10000,
        time: 3,
        timeNum: 0,
        text: '分享'
    }]);


    return { list }
});


